<?php 
if (isset($haya_post_like_config['open_thread'])
	&& $haya_post_like_config['open_thread'] == 1
) {
?>
	<?php 
	if ((isset($haya_post_like_config['list_show_likes'])
		&& $haya_post_like_config['list_show_likes'] == 1)
		|| ($route == 'my' || $route == 'user')
	) {
	?>
		<span class="ml-2">
			<i class="icon-thumbs-o-up" aria-hidden="true"></i> 
			<?php echo intval($_thread['likes']);?>
		</span>
	<?php } ?>
	
<?php } ?>